package com.ruoyi.cms.mapper;

import com.ruoyi.cms.domain.Attachment;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AttachmentMapper extends BaseMapperPlus<AttachmentMapper, Attachment, Attachment> {

    List<Attachment> queryListByPage(Map<String, Object> entity);

	Attachment selectByCode(@Param("code") String key);
}
